package cn.bluethink.eguan.model.module;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;

import cn.bluethink.eguan.model.core.EgFaction;

/**
 * @title 服务模型对象
 * 对象和模块关联
 * @Copyright 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.1
 *
 * @note 修订历史： （1）liuxn于2019年3月11日构建初始版本0.1
 */
public class EgModuleObject {

	/**
	 * 开通服务的门派
	 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
	private EgFaction faction;
	
	/**
	 * 所开通的模块
	 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
	private EgModule module;
	
	/**
	 * 对象开通模块后，生成的该对象对应的唯一标识
	 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
	private String key;
	
	/**
	 * 模块开通后，配置的服务地址
	 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
	private String service;
	
	/**
	 * 模块对象的更新时间
	 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
	private Date uTime;
	
	public EgModuleObject() {
		
	}

	public EgFaction getFaction() {
		return faction;
	}

	public void setFaction(EgFaction faction) {
		this.faction = faction;
	}

	public EgModule getModule() {
		return module;
	}

	public void setModule(EgModule module) {
		this.module = module;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public Date getuTime() {
		return uTime;
	}

	public void setuTime(Date uTime) {
		this.uTime = uTime;
	}
	
}
